package com.example.search.service;

import com.example.common.dtos.ResponseResult;
import com.example.search.eneity.dto.UserSearchDto;

import java.io.IOException;

public interface ArticleSearchService {

    /**
     ES文章分页搜索
     @return
     */
    ResponseResult search(UserSearchDto userSearchDto) throws IOException;

    ResponseResult searchAll() throws IOException;

}